package com.niiwoo.civet.trade.service.configure;

import com.niiwoo.civet.trade.dto.response.BorrowFlowConfigResponseDTO;
import com.niiwoo.civet.trade.dto.response.InvestFlowConfigResponseDTO;
import com.niiwoo.civet.trade.enums.BorrowFlowConfigTypeEnum;
import com.niiwoo.civet.trade.enums.InvestFlowConfigTypeEnum;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 借款流程链接配置接口
 *  tjb 2018/04/03
 */
public interface BorrowFlowConfigDubboService {

    /**
     * 查询指定的配置
     * @param type
     * @return
     */
    BorrowFlowConfigResponseDTO queryBorrowFlowConfig(@NotNull BorrowFlowConfigTypeEnum type);

    /**
     * 查询全部的配置
     * @return
     */
    List<BorrowFlowConfigResponseDTO> queryBorrowFlowConfigList();

}